package com.fortune.vo.productCategoryMgt;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

public class ProductCategoryVo {
	private String id;
	private String pid;
	private String name;
	private boolean edit=false;
	@JsonProperty(value="children")
	private List<ProductCategoryVo> productCategories;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean getEdit() {
		return edit;
	}
	public void setEdit(boolean edit) {
		this.edit = edit;
	}
	public List<ProductCategoryVo> getProductCategories() {
		return productCategories;
	}
	public void setProductCategories(List<ProductCategoryVo> productCategories) {
		this.productCategories = productCategories;
	}
	@Override
	public String toString() {
		return "ProductCategoryVo [id=" + id + ", pid=" + pid + ", name=" + name + ", edit=" + edit
				+ ", productCategories=" + productCategories + "]";
	}
}
